function [result] = test_for_rec(location)
 flag = 1;
 dir_struct = dir(location);
 for i=3:length(dir_struct)
%      if dir_struct(i).isdir, flag=0; break; end
     [path,name,ext] = fileparts(dir_struct(i).name);
     if ~strcmpi(ext,'.wav'),  flag=0; break;  end
 end
 if length(dir_struct)==2
     flag = 0;
 end
 result = flag;
 


